import axios from 'axios'
//获取后台后台接口的IP和端口号
import serverIP from '../../../config/serverIp'
axios.defaults.baseURL = serverIP;
//公共方法引入
import utils from '../../libs/utils'
//解决axios post不能传递参数
import qs from 'qs'

const leftMenu = {
    state: {
        //定义当前选中的单条菜单数据
        leftMenuCrumbSta: '欢迎您的使用'
    },
    mutations: {
        //设置当前选中的菜单数据
        leftMenuCrumbMut: (state, payload) => {
            state.leftMenuCrumbSta = payload.title;
        }
    },
    actions: {}
};
export default leftMenu;